package com.walle.ak47.commons.jetty;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.eclipse.jetty.server.Request;

public class ContextHandlerCollection extends
		org.eclipse.jetty.server.handler.ContextHandlerCollection
{

	@Override
	public void handle(String target, Request baseRequest,
			HttpServletRequest request, HttpServletResponse response)
			throws IOException, ServletException
	{
		if( baseRequest.isHandled() || response.isCommitted() )
			return  ;
		super.handle(target, baseRequest, request, response);
	}

}
